home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / pgp23src.zip / CHARSET.H < prev    next >
C/C++ Source or Header  |  1993-05-09  |  856b  |  24 lines

  1.  
  2. /* Internal/External representation conversion macros for conversion of
  3.  * user ID's (will be implemented in a future release of PGP, now they
  4.  * are just dummies)
  5.  */
  6. #define    CONVERT_TO_CANONICAL_CHARSET(s) /* String to internal string (at same place) */
  7. #define    LOCAL_CHARSET(s)    s    /* String to external string */
  8.  
  9. extern char INT_C(char c);      /* Char to internal char */
  10. extern char EXT_C(char c);      /* Char to external char */
  11.  
  12. /* Plaintext files import/export conversion modes */
  13.  
  14. #define NO_CONV  0      /* No conversion needed */
  15. #define INT_CONV 1      /* Convert text to internal representation */
  16. #define EXT_CONV 2      /* Convert text to external representation */
  17.  
  18. extern int CONVERSION;  /* Global var to rule copyfiles */
  19.  
  20.  
  21. extern void init_charset(void);
  22. extern int to_upper(int c);
  23. extern int to_lower(int c);
  24.